package com.develop.data.base.model;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.ColumnDefault;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "BASE_RESOURCE")
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class Resource extends IdSpaceTimeRecord {


    @Column(name = "resource_namespace") //数据隔离
    public String resourceNamespace;

    @Column(name = "resource_group")
    public String resourceGroup;

    @Column(name = "resource_type")
    public String resourceType;

    @Column(name = "resource_state")
    public String resourceState;

    @Column(name = "resource_version")
    public String resourceVersion;

    @Column(name = "resource_name")
    public String resourceName;

    @Column(name = "resource_value")
    public String resource_value;

    @Column(name = "resource_extension")
    public String resource_extension;


}
